<nav class="navbar navbar-expand-lg navbar-dark">
    <div class="container">
        <a class="navbar-brand" href="/">
            <i class="bi bi-database-fill-gear me-2"></i>测试用例管理
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav ms-auto">
                <li class="nav-item">
                    <a class="nav-link {% if request.path == '/' %}active{% endif %}" href="/">
                        <i class="bi bi-house-door me-1"></i>首页
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link {% if request.path == '/add' %}active{% endif %}" href="/add">
                        <i class="bi bi-plus-circle me-1"></i>添加信息
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link {% if request.path == '/import' %}active{% endif %}" href="/import">
                        <i class="bi bi-file-earmark-excel me-1"></i>导入Excel
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/export">
                        <i class="bi bi-download me-1"></i>导出Excel
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#" data-bs-toggle="modal" data-bs-target="#fieldDescriptionModal">
                        <i class="bi bi-info-circle me-1"></i>字段说明
                    </a>
                </li>
            </ul>
        </div>
    </div>
</nav>